import request from "@/utils/request";

// 查询疫苗出库记录列表
export function listVaccineOut(query) {
  return request({
    url: "/zp/vaccineOut/list",
    method: "get",
    params: query,
  });
}

// 查询疫苗出库记录详细
export function getVaccineOut(id) {
  return request({
    url: "/medical/vaccineOut/" + id,
    method: "get",
  });
}

// 新增疫苗出库记录
export function addVaccineOut(data) {
  return request({
    url: "/zp/vaccineOut",
    method: "post",
    data: data,
  });
}

// 修改疫苗出库记录
export function updateVaccineOut(data) {
  return request({
    url: "/medical/vaccineOut",
    method: "put",
    data: data,
  });
}

// 删除疫苗出库记录
export function delVaccineOut(id) {
  return request({
    url: "/medical/vaccineOut/" + id,
    method: "delete",
  });
}
